package com.gxa.xiaoucomeshome.pojo;

import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiOperation;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
@AllArgsConstructor
@NoArgsConstructor
@Data
public class Address implements Serializable {
    @ApiModelProperty(name = "u_id",value = "用户编号",dataType = "Integer",required = true)
    private Integer u_id;
    @ApiModelProperty(name = "name",value = "收货人姓名",dataType = "String",required = true)
    private String name;
    @ApiModelProperty(name = "phone",value = "收货人电话",dataType = "String",required = true)
    private String phone;
    @ApiModelProperty(name = "sparePhone",value = "收货人备用电话",dataType = "String",required = true)
    private String sparePhone;
    @ApiModelProperty(name = "address",value = "收货人地址",dataType = "String",required = true)
    private String address;
    @ApiModelProperty(name = "details",value = "收货人地址详情",dataType = "String",required = true)
    private String details;

    private Integer id;

}
